package com.software.loginregister.entity;

public class HealthFood {
    private String title;
    private String ingredients;
    private int imageResId;
    private int viewCount;

    public HealthFood(String title, String ingredients, int imageResId, int viewCount) {
        this.title = title;
        this.ingredients = ingredients;
        this.imageResId = imageResId;
        this.viewCount = viewCount;
    }

    // Getter方法
    public String getTitle() { return title; }
    public String getIngredients() { return ingredients; }
    public int getImageResId() { return imageResId; }
    public int getViewCount() { return viewCount; }
}